package com.wish.interfaceadapter;

/**
 * Created by suliucheng on 2021/1/10 21:23
 * Directions:
 */
public class Test {
    /**
     * 只需要手机来打电话
     * @param args
     */
    public static void main(String[] args) {
        AbstractPhoneAdapter phone = new AbstractPhoneAdapter() {
            @Override
            public void call() {
                System.out.println("爷爷买手机只为了用来打电话");
            }
        };

        phone.call();

    }
}
